home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / B-C / C++Source Code Fmtr.sit / Src / Vector.h < prev   
MacBinary  |  1992-04-27  |  3.3 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Vector.h

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Mon Apr 27 19:15:41 1992, modified Mon Apr 27 19:15:41 1992, creator 'MPS ', type ASCII, 2487 bytes "Vector.h" , at 0xa37 628 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 08 56 65 63 74 6f 72 | 2e 68 00 00 00 00 00 00 |..Vector|.h......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 09 b7 00 | 00 02 74 a6 22 3b 9d a6 |........|..t.";..|
|00000060| 22 3b 9d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |";......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 96 d2 00 00 |........|........|
|00000080| 23 69 66 6e 64 65 66 20 | 5f 5f 56 45 43 54 4f 52 |#ifndef |__VECTOR|
|00000090| 5f 5f 0d 23 64 65 66 69 | 6e 65 20 5f 5f 56 45 43 |__.#defi|ne __VEC|
|000000a0| 54 4f 52 5f 5f 09 31 0d | 0d 23 70 72 61 67 6d 61 |TOR__.1.|.#pragma|
|000000b0| 20 6f 6e 63 65 0d 0d 23 | 69 66 6e 64 65 66 20 5f | once..#|ifndef _|
|000000c0| 5f 44 41 54 41 41 52 45 | 41 5f 5f 0d 23 69 6e 63 |_DATAARE|A__.#inc|
|000000d0| 6c 75 64 65 20 22 44 61 | 74 61 41 72 65 61 2e 68 |lude "Da|taArea.h|
|000000e0| 22 0d 23 65 6e 64 69 66 | 0d 0d 23 69 66 6e 64 65 |".#endif|..#ifnde|
|000000f0| 66 20 5f 5f 54 59 50 45 | 53 5f 5f 0d 23 69 6e 63 |f __TYPE|S__.#inc|
|00000100| 6c 75 64 65 20 3c 74 79 | 70 65 73 2e 68 3e 0d 23 |lude <ty|pes.h>.#|
|00000110| 65 6e 64 69 66 0d 0d 0d | 2f 2a b5 20 63 6c 61 73 |endif...|/*. clas|
|00000120| 73 20 56 65 63 74 6f 72 | 0d 2a 2a 09 41 20 76 65 |s Vector|.**.A ve|
|00000130| 63 74 6f 72 20 69 73 20 | 61 20 63 6f 6c 6c 65 63 |ctor is |a collec|
|00000140| 74 69 6f 6e 20 6f 66 20 | 70 6f 69 6e 74 65 72 73 |tion of |pointers|
|00000150| 20 74 6f 20 69 74 65 6d | 73 2e 20 20 54 68 65 20 | to item|s. The |
|00000160| 76 65 63 74 6f 72 20 69 | 73 20 7a 65 72 6f 2d 62 |vector i|s zero-b|
|00000170| 61 73 65 64 2e 0d 2a 2f | 0d 63 6c 61 73 73 20 56 |ased..*/|.class V|
|00000180| 65 63 74 6f 72 20 3a 20 | 70 72 69 76 61 74 65 20 |ector : |private |
|00000190| 44 61 74 61 41 72 65 61 | 20 7b 0d 70 75 62 6c 69 |DataArea| {.publi|
|000001a0| 63 3a 0d 09 56 65 63 74 | 6f 72 28 29 3b 0d 0d 09 |c:..Vect|or();...|
|000001b0| 69 6e 74 20 49 56 65 63 | 74 6f 72 28 29 3b 0d 09 |int IVec|tor();..|
|000001c0| 69 6e 74 20 49 56 65 63 | 74 6f 72 28 73 69 7a 65 |int IVec|tor(size|
|000001d0| 5f 74 20 69 6e 69 74 69 | 61 6c 53 69 7a 65 2c 20 |_t initi|alSize, |
|000001e0| 73 69 7a 65 5f 74 20 69 | 6e 63 72 65 6d 65 6e 74 |size_t i|ncrement|
|000001f0| 29 3b 0d 09 69 6e 74 20 | 49 56 65 63 74 6f 72 28 |);..int |IVector(|
|00000200| 63 6f 6e 73 74 20 56 65 | 63 74 6f 72 20 2a 61 56 |const Ve|ctor *aV|
|00000210| 65 63 74 6f 72 29 3b 0d | 09 2f 2f 20 49 6e 69 74 |ector);.|.// Init|
|00000220| 69 61 6c 69 7a 65 20 74 | 68 65 20 76 65 63 74 6f |ialize t|he vecto|
|00000230| 72 0d 0d 0d 09 76 6f 69 | 64 20 53 65 74 49 6e 63 |r....voi|d SetInc|
|00000240| 72 65 6d 65 6e 74 28 73 | 69 7a 65 5f 74 20 61 6e |rement(s|ize_t an|
|00000250| 49 6e 63 72 65 6d 65 6e | 74 29 3b 0d 09 69 6e 74 |Incremen|t);..int|
|00000260| 20 4c 65 6e 67 74 68 28 | 29 20 63 6f 6e 73 74 3b | Length(|) const;|
|00000270| 0d 09 76 6f 69 64 20 2a | 41 74 28 69 6e 74 20 69 |..void *|At(int i|
|00000280| 29 20 63 6f 6e 73 74 3b | 0d 0d 09 42 6f 6f 6c 65 |) const;|...Boole|
|00000290| 61 6e 20 41 64 64 49 74 | 65 6d 28 63 6f 6e 73 74 |an AddIt|em(const|
|000002a0| 20 76 6f 69 64 20 2a 61 | 6e 49 74 65 6d 29 3b 0d | void *a|nItem);.|
|000002b0| 09 42 6f 6f 6c 65 61 6e | 20 41 64 64 4f 6e 63 65 |.Boolean| AddOnce|
|000002c0| 28 63 6f 6e 73 74 20 76 | 6f 69 64 20 2a 61 6e 49 |(const v|oid *anI|
|000002d0| 74 65 6d 29 3b 0d 09 42 | 6f 6f 6c 65 61 6e 20 41 |tem);..B|oolean A|
|000002e0| 64 64 4f 6e 63 65 28 63 | 6f 6e 73 74 20 56 65 63 |ddOnce(c|onst Vec|
|000002f0| 74 6f 72 20 2a 61 56 65 | 63 74 6f 72 29 3b 0d 09 |tor *aVe|ctor);..|
|00000300| 2f 2f 20 41 64 64 20 74 | 68 65 20 69 74 65 6d 20 |// Add t|he item |
|00000310| 74 6f 20 74 68 65 20 56 | 65 63 74 6f 72 2e 20 20 |to the V|ector. |
|00000320| 52 65 74 75 72 6e 20 74 | 72 75 65 20 69 66 20 74 |Return t|rue if t|
|00000330| 68 65 20 69 74 65 6d 20 | 69 73 20 6e 6f 77 20 69 |he item |is now i|
|00000340| 6e 20 74 68 65 0d 09 2f | 2f 20 56 65 63 74 6f 72 |n the../|/ Vector|
|00000350| 2c 20 66 61 6c 73 65 20 | 69 66 20 69 74 20 69 73 |, false |if it is|
|00000360| 6e 27 74 2e 20 20 54 68 | 65 20 41 64 64 4f 6e 63 |n't. Th|e AddOnc|
|00000370| 65 20 6d 65 74 68 6f 64 | 20 61 64 64 73 20 74 68 |e method| adds th|
|00000380| 65 20 69 74 65 6d 20 74 | 6f 20 74 68 65 0d 09 2f |e item t|o the../|
|00000390| 2f 20 56 65 63 74 6f 72 | 20 6f 6e 6c 79 20 69 66 |/ Vector| only if|
|000003a0| 20 69 74 20 69 73 6e 27 | 74 20 61 6c 72 65 61 64 | it isn'|t alread|
|000003b0| 79 20 69 6e 20 74 68 65 | 20 56 65 63 74 6f 72 2e |y in the| Vector.|
|000003c0| 20 20 43 6f 6d 70 61 72 | 69 73 6f 6e 20 69 73 20 | Compar|ison is |
|000003d0| 64 6f 6e 65 20 62 79 0d | 09 2f 2f 20 70 6f 69 6e |done by.|.// poin|
|000003e0| 74 65 72 20 65 71 75 61 | 6c 69 74 79 2e 20 20 54 |ter equa|lity. T|
|000003f0| 68 65 20 41 64 64 4f 6e | 63 65 20 6d 65 74 68 6f |he AddOn|ce metho|
|00000400| 64 20 67 69 76 65 6e 20 | 61 20 72 65 66 65 72 65 |d given |a refere|
|00000410| 6e 63 65 20 74 6f 20 61 | 20 56 65 63 74 6f 72 0d |nce to a| Vector.|
|00000420| 09 2f 2f 20 61 64 64 73 | 20 75 6e 69 71 75 65 20 |.// adds| unique |
|00000430| 69 74 65 6d 73 20 66 72 | 6f 6d 20 74 68 61 74 20 |items fr|om that |
|00000440| 56 65 63 74 6f 72 20 74 | 6f 20 74 68 69 73 20 56 |Vector t|o this V|
|00000450| 65 63 74 6f 72 2e 0d 0d | 09 76 6f 69 64 20 41 74 |ector...|.void At|
|00000460| 50 75 74 28 69 6e 74 20 | 69 2c 20 63 6f 6e 73 74 |Put(int |i, const|
|00000470| 20 76 6f 69 64 20 2a 61 | 6e 49 74 65 6d 29 3b 0d | void *a|nItem);.|
|00000480| 09 2f 2f 20 53 65 74 20 | 74 68 65 20 69 27 74 68 |.// Set |the i'th|
|00000490| 20 69 74 65 6d 20 74 6f | 20 62 65 20 61 6e 49 74 | item to| be anIt|
|000004a0| 65 6d 2e 0d 0d 09 69 6e | 74 20 49 6e 64 65 78 4f |em....in|t IndexO|
|000004b0| 66 28 63 6f 6e 73 74 20 | 76 6f 69 64 20 2a 61 6e |f(const |void *an|
|000004c0| 49 74 65 6d 29 3b 0d 09 | 2f 2f 20 52 65 74 75 72 |Item);..|// Retur|
|000004d0| 6e 20 74 68 65 20 69 6e | 64 65 78 20 6f 66 20 74 |n the in|dex of t|
|000004e0| 68 65 20 69 74 65 6d 2e | 20 20 49 66 20 74 68 65 |he item.| If the|
|000004f0| 20 69 74 65 6d 20 69 73 | 20 6e 6f 74 20 69 6e 20 | item is| not in |
|00000500| 74 68 65 0d 09 2f 2f 20 | 56 65 63 74 6f 72 2c 20 |the..// |Vector, |
|00000510| 72 65 74 75 72 6e 20 61 | 20 6e 65 67 61 74 69 76 |return a| negativ|
|00000520| 65 20 76 61 6c 75 65 2e | 0d 0d 0d 09 76 6f 69 64 |e value.|....void|
|00000530| 20 53 6f 72 74 28 69 6e | 74 20 28 2a 61 43 6f 6d | Sort(in|t (*aCom|
|00000540| 70 61 72 65 46 75 6e 63 | 29 28 63 6f 6e 73 74 20 |pareFunc|)(const |
|00000550| 76 6f 69 64 20 2a 2c 20 | 63 6f 6e 73 74 20 76 6f |void *, |const vo|
|00000560| 69 64 20 2a 29 29 3b 0d | 09 2f 2f 20 53 6f 72 74 |id *));.|.// Sort|
|00000570| 20 74 68 65 20 76 65 63 | 74 6f 72 20 75 73 69 6e | the vec|tor usin|
|00000580| 67 20 74 68 65 20 63 6f | 6d 70 61 72 69 73 6f 6e |g the co|mparison|
|00000590| 20 66 75 6e 63 74 69 6f | 6e 20 70 61 73 73 65 64 | functio|n passed|
|000005a0| 20 69 6e 2e 0d 0d 09 76 | 69 72 74 75 61 6c 20 76 | in....v|irtual v|
|000005b0| 6f 69 64 20 4d 61 6b 65 | 45 6d 70 74 79 28 29 3b |oid Make|Empty();|
|000005c0| 0d 09 2f 2f 20 45 6d 70 | 74 79 20 74 68 65 20 56 |..// Emp|ty the V|
|000005d0| 65 63 74 6f 72 2e 0d 0d | 0d 70 72 6f 74 65 63 74 |ector...|.protect|
|000005e0| 65 64 3a 0d 09 76 6f 69 | 64 20 2a 5f 41 74 28 69 |ed:..voi|d *_At(i|
|000005f0| 6e 74 20 69 29 20 63 6f | 6e 73 74 3b 0d 09 76 6f |nt i) co|nst;..vo|
|00000600| 69 64 20 5f 41 74 50 75 | 74 28 69 6e 74 20 69 2c |id _AtPu|t(int i,|
|00000610| 20 63 6f 6e 73 74 20 76 | 6f 69 64 20 2a 61 6e 49 | const v|oid *anI|
|00000620| 74 65 6d 29 3b 0d 09 2f | 2f 20 55 6e 73 61 66 65 |tem);../|/ Unsafe|
|00000630| 20 76 65 72 73 69 6f 6e | 73 2c 20 61 6c 6c 6f 77 | version|s, allow|
|00000640| 69 6e 67 20 64 65 72 69 | 76 65 64 20 63 6c 61 73 |ing deri|ved clas|
|00000650| 73 65 73 20 74 6f 20 73 | 69 64 65 73 74 65 70 0d |ses to s|idestep.|
|00000660| 09 2f 2f 20 62 6f 75 6e | 64 73 20 63 68 65 63 6b |.// boun|ds check|
|00000670| 73 20 77 68 65 6e 20 74 | 68 65 79 20 68 61 76 65 |s when t|hey have|
|00000680| 20 70 72 6f 76 65 64 20 | 74 68 65 20 69 6e 64 69 | proved |the indi|
|00000690| 63 65 73 20 61 72 65 20 | 76 61 6c 69 64 0d 0d 70 |ces are |valid..p|
|000006a0| 72 69 76 61 74 65 3a 0d | 09 69 6e 74 20 66 4c 65 |rivate:.|.int fLe|
|000006b0| 6e 67 74 68 3b 0d 7d 3b | 0d 0d 0d 2f 2f b5 20 20 |ngth;.};|...//. |
|000006c0| 20 56 65 63 74 6f 72 3a | 3a 49 56 65 63 74 6f 72 | Vector:|:IVector|
|000006d0| 0d 23 70 72 61 67 6d 61 | 20 73 65 67 6d 65 6e 74 |.#pragma| segment|
|000006e0| 20 56 65 63 74 6f 72 0d | 69 6e 6c 69 6e 65 20 69 | Vector.|inline i|
|000006f0| 6e 74 20 56 65 63 74 6f | 72 3a 3a 49 56 65 63 74 |nt Vecto|r::IVect|
|00000700| 6f 72 28 29 0d 7b 0d 09 | 72 65 74 75 72 6e 20 28 |or().{..|return (|
|00000710| 49 56 65 63 74 6f 72 28 | 30 2c 20 34 29 29 3b 0d |IVector(|0, 4));.|
|00000720| 7d 0d 0d 0d 2f 2f b5 20 | 20 20 56 65 63 74 6f 72 |}...//. | Vector|
|00000730| 3a 3a 53 65 74 49 6e 63 | 72 65 6d 65 6e 74 0d 23 |::SetInc|rement.#|
|00000740| 70 72 61 67 6d 61 20 73 | 65 67 6d 65 6e 74 20 56 |pragma s|egment V|
|00000750| 65 63 74 6f 72 0d 69 6e | 6c 69 6e 65 20 76 6f 69 |ector.in|line voi|
|00000760| 64 20 56 65 63 74 6f 72 | 3a 3a 53 65 74 49 6e 63 |d Vector|::SetInc|
|00000770| 72 65 6d 65 6e 74 28 73 | 69 7a 65 5f 74 20 61 6e |rement(s|ize_t an|
|00000780| 49 6e 63 72 65 6d 65 6e | 74 29 0d 7b 0d 09 2f 2f |Incremen|t).{..//|
|00000790| 20 53 65 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 | Set the| number |
|000007a0| 6f 66 20 69 74 65 6d 73 | 20 74 68 61 74 20 74 68 |of items| that th|
|000007b0| 65 20 76 65 63 74 6f 72 | 20 69 73 20 65 78 70 61 |e vector| is expa|
|000007c0| 6e 64 65 64 20 62 79 20 | 77 68 65 6e 65 76 65 72 |nded by |whenever|
|000007d0| 0d 09 2f 2f 20 69 74 20 | 6d 75 73 74 20 62 65 20 |..// it |must be |
|000007e0| 65 78 70 61 6e 64 65 64 | 2e 0d 09 44 61 74 61 41 |expanded|...DataA|
|000007f0| 72 65 61 3a 3a 53 65 74 | 49 6e 63 72 65 6d 65 6e |rea::Set|Incremen|
|00000800| 74 28 61 6e 49 6e 63 72 | 65 6d 65 6e 74 20 2a 20 |t(anIncr|ement * |
|00000810| 73 69 7a 65 6f 66 28 76 | 6f 69 64 20 2a 29 29 3b |sizeof(v|oid *));|
|00000820| 0d 7d 0d 0d 0d 2f 2f b5 | 20 20 20 56 65 63 74 6f |.}...//.| Vecto|
|00000830| 72 3a 3a 4c 65 6e 67 74 | 68 0d 23 70 72 61 67 6d |r::Lengt|h.#pragm|
|00000840| 61 20 73 65 67 6d 65 6e | 74 20 56 65 63 74 6f 72 |a segmen|t Vector|
|00000850| 0d 69 6e 6c 69 6e 65 20 | 69 6e 74 20 56 65 63 74 |.inline |int Vect|
|00000860| 6f 72 3a 3a 4c 65 6e 67 | 74 68 28 29 20 63 6f 6e |or::Leng|th() con|
|00000870| 73 74 0d 7b 0d 09 72 65 | 74 75 72 6e 20 28 66 4c |st.{..re|turn (fL|
|00000880| 65 6e 67 74 68 29 3b 0d | 7d 0d 0d 0d 2f 2f b5 20 |ength);.|}...//. |
|00000890| 20 20 56 65 63 74 6f 72 | 3a 3a 5f 49 74 65 6d 0d | Vector|::_Item.|
|000008a0| 23 70 72 61 67 6d 61 20 | 73 65 67 6d 65 6e 74 20 |#pragma |segment |
|000008b0| 56 65 63 74 6f 72 0d 69 | 6e 6c 69 6e 65 20 76 6f |Vector.i|nline vo|
|000008c0| 69 64 20 2a 56 65 63 74 | 6f 72 3a 3a 5f 41 74 28 |id *Vect|or::_At(|
|000008d0| 69 6e 74 20 69 29 20 63 | 6f 6e 73 74 0d 7b 0d 09 |int i) c|onst.{..|
|000008e0| 72 65 74 75 72 6e 20 28 | 28 2a 28 76 6f 69 64 20 |return (|(*(void |
|000008f0| 2a 2a 2a 29 44 61 74 61 | 41 72 65 61 3a 3a 66 48 |***)Data|Area::fH|
|00000900| 61 6e 64 6c 65 29 5b 69 | 5d 29 3b 0d 7d 0d 0d 0d |andle)[i|]);.}...|
|00000910| 2f 2f b5 20 20 20 56 65 | 63 74 6f 72 3a 3a 49 74 |//. Ve|ctor::It|
|00000920| 65 6d 0d 23 70 72 61 67 | 6d 61 20 73 65 67 6d 65 |em.#prag|ma segme|
|00000930| 6e 74 20 56 65 63 74 6f | 72 0d 69 6e 6c 69 6e 65 |nt Vecto|r.inline|
|00000940| 20 76 6f 69 64 20 2a 56 | 65 63 74 6f 72 3a 3a 41 | void *V|ector::A|
|00000950| 74 28 69 6e 74 20 69 29 | 20 63 6f 6e 73 74 0d 7b |t(int i)| const.{|
|00000960| 0d 09 72 65 74 75 72 6e | 20 28 28 69 20 3e 3d 20 |..return| ((i >= |
|00000970| 30 20 26 26 20 69 20 3c | 20 66 4c 65 6e 67 74 68 |0 && i <| fLength|
|00000980| 29 20 3f 20 5f 41 74 28 | 69 29 20 3a 20 30 29 3b |) ? _At(|i) : 0);|
|00000990| 0d 7d 0d 0d 0d 2f 2f b5 | 20 20 20 56 65 63 74 6f |.}...//.| Vecto|
|000009a0| 72 3a 3a 5f 53 65 74 49 | 74 65 6d 0d 23 70 72 61 |r::_SetI|tem.#pra|
|000009b0| 67 6d 61 20 73 65 67 6d | 65 6e 74 20 56 65 63 74 |gma segm|ent Vect|
|000009c0| 6f 72 0d 69 6e 6c 69 6e | 65 20 76 6f 69 64 20 56 |or.inlin|e void V|
|000009d0| 65 63 74 6f 72 3a 3a 5f | 41 74 50 75 74 28 69 6e |ector::_|AtPut(in|
|000009e0| 74 20 69 2c 20 63 6f 6e | 73 74 20 76 6f 69 64 20 |t i, con|st void |
|000009f0| 2a 61 6e 49 74 65 6d 29 | 0d 7b 0d 09 28 2a 28 76 |*anItem)|.{..(*(v|
|00000a00| 6f 69 64 20 2a 2a 2a 29 | 44 61 74 61 41 72 65 61 |oid ***)|DataArea|
|00000a10| 3a 3a 66 48 61 6e 64 6c | 65 29 5b 69 5d 20 3d 20 |::fHandl|e)[i] = |
|00000a20| 61 6e 49 74 65 6d 3b 0d | 7d 0d 0d 0d 0d 0d 23 65 |anItem;.|}.....#e|
|00000a30| 6e 64 69 66 0d 0d 0d 00 | 00 00 00 00 00 00 00 00 |ndif....|........|
|00000a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a80| 00 00 01 00 00 00 02 2a | 00 00 01 2a 00 00 00 4a |.......*|...*...J|
|00000a90| 7d 0d 69 6e 74 20 43 46 | 69 6c 65 3a 3a 47 65 74 |}.int CF|ile::Get|
|00000aa0| 28 69 6e 74 26 20 76 29 | 09 09 09 09 63 6f 6e 73 |(int& v)|....cons|
|00000ab0| 08 56 65 63 74 6f 72 2e | 68 00 02 00 00 00 50 61 |.Vector.|h.....Pa|
|00000ac0| 72 74 53 49 54 78 00 00 | 00 00 00 00 00 00 00 01 |rtSITx..|........|
|00000ad0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000af0| 00 00 a9 80 16 a4 00 00 | 00 00 00 00 02 74 72 6e |........|.....trn|
|00000b00| 20 28 66 73 63 61 6e 66 | 28 66 46 69 6c 65 2c 20 | (fscanf|(fFile, |
|00000b10| 73 49 4c 46 6d 74 2c 09 | 26 76 29 29 3b 7d 0d 69 |sILFmt,.|&v));}.i|
|00000b20| 6e 74 20 43 46 69 6c 65 | 3a 3a 47 65 74 28 66 6c |nt CFile|::Get(fl|
|00000b30| 6f 61 74 26 20 76 29 09 | 09 09 63 6f 6e 73 74 09 |oat& v).|..const.|
|00000b40| 7b 72 65 74 75 72 6e 20 | 28 66 73 63 61 6e 66 28 |{return |(fscanf(|
|00000b50| 66 46 69 6c 65 2c 20 73 | 49 46 46 6d 74 2c 09 26 |fFile, s|IFFmt,.&|
|00000b60| 76 29 29 3b 7d 0d 69 6e | 74 20 43 46 69 6c 65 3a |v));}.in|t CFile:|
|00000b70| 3a 47 65 74 28 64 6f 75 | 62 6c 65 26 20 76 29 09 |:Get(dou|ble& v).|
|00000b80| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ba0| 00 00 00 00 00 00 00 06 | 00 04 00 27 00 02 01 76 |........|...'...v|
|00000bb0| 01 fe 00 27 00 02 01 76 | 01 fe a6 21 f5 4d 00 00 |...'...v|...!.M..|
|00000bc0| 00 36 00 00 00 36 00 00 | 00 00 01 00 00 00 00 b8 |.6...6..|........|
|00000bd0| 00 07 00 00 00 9c 00 00 | 00 a8 0d 63 6c 61 73 73 |........|...class|
|00000be0| 20 56 65 63 74 6f 72 00 | 00 00 06 3f 00 00 06 50 | Vector.|...?...P|
|00000bf0| 11 20 20 56 65 63 74 6f | 72 3a 3a 49 56 65 63 74 |. Vecto|r::IVect|
|00000c00| 6f 72 00 00 06 a8 00 00 | 06 be 17 20 20 56 65 63 |or......|... Vec|
|00000c10| 74 6f 72 3a 3a 53 65 74 | 49 6e 63 72 65 6d 65 6e |tor::Set|Incremen|
|00000c20| 74 00 00 00 07 a9 00 00 | 07 b9 11 20 20 56 65 63 |t.......|... Vec|
|00000c30| 74 6f 72 3a 3a 4c 65 6e | 67 74 68 00 00 00 08 10 |tor::Len|gth.....|
|00000c40| 00 00 08 1f 0f 20 20 56 | 65 63 74 6f 72 3a 3a 5f |..... V|ector::_|
|00000c50| 49 74 65 6d 00 00 08 94 | 00 00 08 a2 0f 20 20 56 |Item....|..... V|
|00000c60| 65 63 74 6f 72 3a 3a 49 | 74 65 6d 00 00 00 09 19 |ector::I|tem.....|
|00000c70| 00 00 09 2b 13 20 20 56 | 65 63 74 6f 72 3a 3a 5f |...+. V|ector::_|
|00000c80| 53 65 74 49 74 65 6d 00 | 00 00 00 1e 00 27 00 02 |SetItem.|.....'..|
|00000c90| 01 76 01 fe 00 27 00 02 | 01 76 01 fe 00 00 00 00 |.v...'..|.v......|
|00000ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|00000cb0| 02 2a 00 00 01 2a 00 00 | 00 4a 01 14 17 0c 0c 7e |.*...*..|.J.....~|
|00000cc0| 00 00 00 1c 00 4a 00 00 | 4d 50 53 52 00 02 00 0a |.....J..|MPSR....|
|00000cd0| 03 ed ff ff 00 00 00 00 | 00 00 00 00 03 ef ff ff |........|........|
|00000ce0| 00 00 00 4c 00 00 00 00 | 03 f0 ff ff 00 00 01 08 |...L....|........|
|00000cf0| 01 1a 37 f0 00 00 00 00 | 00 00 00 00 00 00 00 00 |..7.....|........|
+--------+-------------------------+-------------------------+--------+--------+